<include file="top" />

<div id="right">
	<h3>添加hotTag</h3>
	<form method="post" enctype="multipart/form-data"
		onsubmit=" return checkVal();">
		<table width="98%" border="0" class="table">
			<tr>
				<td width="16%">标签名：</td>
				<td width="84%"><input class="w350" type="text" name="tag_name" />
				</td>
			</tr>
			<tr>
				<td width="16%">链接：</td>
				<td width="84%"><input class="w350" type="text" name="tag_url" />
				</td>
			</tr>

			<tr>
				<td width="16%"></td>
				<td width="84%"><input type="submit" value="提交" name="sub"></td>
			</tr>

		</table>

	</form>
	<script>
			function checkVal(){
				if(document.getElementById('hotTag').value == ''){
					alert('请先填上内容！');
					return false;					
				}
			}
		</script>
</div>
</body>
</html>